page {
	background-color: #fff;
	min-height: 100%;
}
.container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	background-color: #f5f5f5;
}

.header {
	height: 88rpx;
	background: linear-gradient(135deg, #E5E5BE 0%, #003973 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 30rpx;
}

.header-title {
	color: #FFFFFF;
	font-size: 36rpx;
	font-weight: bold;
}

/* 搜索框样式 */
.search-container {
	display: flex;
	padding: 20rpx;
	background-color: #fff;
	border-bottom: 1rpx solid #eee;
}

.search-input {
	flex: 1;
	height: 70rpx;
	padding: 0 20rpx;
	background-color: #f5f5f5;
	border-radius: 35rpx;
	font-size: 28rpx;
}

.search-button {
	width: 120rpx;
	height: 70rpx;
	margin-left: 15rpx;
	background: linear-gradient(135deg, #E5E5BE 0%, #003973 100%);
	color: white;
	border-radius: 35rpx;
	font-size: 28rpx;
	font-weight: bold;
}

.contacts-list {
	flex: 1;
}

.contact-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 20rpx;
	background-color: #fff;
	border-bottom: 1rpx solid #eee;
}

.contact-item:last-child {
	border-bottom: none;
}

.avatar-container {
	position: relative;
	margin-right: 20rpx;
}

.avatar {
	width: 100rpx;
	height: 100rpx;
	border-radius: 50%;
}

.unread-badge {
	position: absolute;
	top: -8rpx;
	right: -8rpx;
	background-color: #ff3b30;
	border-radius: 30rpx;
	min-width: 36rpx;
	height: 36rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8rpx;
}

.unread-text {
	color: #fff;
	font-size: 20rpx;
}

.contact-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100rpx;
}

.contact-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10rpx;
}

.contact-name {
	font-size: 32rpx;
	color: #333;
	font-weight: bold;
}

.last-time {
	font-size: 24rpx;
	color: #999;
}

.contact-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.last-message {
	font-size: 28rpx;
	color: #666;
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mute-icon {
	margin-left: 10rpx;
}
